package com.qqt.csr.workbench.vo.req;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qqt.csr.common.idempotent.RequestKeyParam;
import com.qqt.csr.common.operalog.OperaLogSchema;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "AddingSkillSetMemberReqVO", description = "新增技能组成员")
public class AddingSkillSetMemberReqVO implements Serializable {
    @Serial
    private static final long serialVersionUID = -3107732094493114504L;

    @Schema(description = "技能组id", requiredMode = Schema.RequiredMode.REQUIRED)
    @OperaLogSchema(desc = "技能组id")
    @NotNull(message = "技能组id不能为空")
    @RequestKeyParam
    private Long skillSetId;

    @Schema(description = "添加的客服id", requiredMode = Schema.RequiredMode.REQUIRED)
    @OperaLogSchema(desc = "添加的客服id")
    @NotNull(message = "添加的客服id不能为空")
    @Size(min = 1, message = "请选择要添加的客服")
    @RequestKeyParam
    private List<Long> csIdList;
}
